﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OAuth2AuthorizerDemo.Models
{
    public class MicrosoftProvider : OAuthProvider
    {
        private static readonly string MAppKey = "000000004010A645";
        private static readonly string MAppSecret = "-Wbpqa7sGc9ZVFvNN2BoCbwiEyyoixpk";
        
        public MicrosoftProvider(string name) : base(name, MAppKey, MAppSecret, string.Empty)
        {
            AuthParameters = new System.Collections.Specialized.NameValueCollection();
            AuthParameters.Add("scope", "wl.basic");
        }
    }
}